CDK-192: Dynamcially resolve MR input record counter.

This fixes hadoop-1 tests.