hash.size returns an int, like you'd expect