make counter works in DeprecatedInputFormat, which is used by cascading
fix tests
add comment
Merge pull request #159 from Parquet/counter_for_mapred

Counter for mapred