Counters are now properly treated as longs
Merge pull request #185 from zznate/counters_fix_for_long

Counters are now properly treated as longs