An outcommend code for counting the hashes