computing size of hashtable