Get the number of names that exist.

def get_num_names( self, include_expired=False ):
        """
        Get the number of names that exist.
        """
        cur = self.db.cursor()
        return namedb_get_num_names( cur, self.lastblock, include_expired=include_expired )