Make the counts integer values

The extra decimal digits were causing the output to exceed the maximum.