add counter support to Hadoop InputFormat patch by Aaron Morton; reviewed by jbellis for CASSANDRA-2981