Dumb down code for Firefox & Chrome

Get firefox & chrome to drop some type checks on some core counters we
use by using a typed array.