Make rust count vector fixed sized instead of dynamic

This reflects the other languages better and made it slightly faster on my machine.