Count entries in a 64-bit numpy array using khash.