Library Version 18.1.40
The hash_nelem field of the DB->stat() method for Hash databases has been removed from the 4.1 release, this information is no longer available to applications.