Added a wrapper function to get hash table size.