Rename parameters indicating the length of hash values to ``hash_num``

This fixes #446. I used ``hash_num`` as the canonical name of parameters indicating the length of hash values.