<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_num_historic_names_by_address( self, address ):
 """ Get the number of names historically owned by an address """

        cur = self.db.cursor()
        count = namedb_get_num_historic_names_by_address( cur, address )
        return count