hash-table-size

hash-table-size is a built-in function in `C source code'.

(hash-table-size TABLE)

Return the size of TABLE.
The size can be used as an argument to `make-hash-table' to create
a hash table than can hold as many elements as TABLE holds
without need for resizing.