added counter for rate parser

code runs to completion and passes tests, but is exceedingly slow
during the generation of the integer_dict.