def fetch_num_records(self, table_name, where=None):
return self.fetch_value(select="<STR_LIT>", table_name=table_name, where=where)<EOL>
Fetch the number of records in a table.

:param str table_name: Table name to get number of records.
:param where: |arg_select_where|
:type where: |arg_where_type|
:return:
    Number of records in the table.
    |None| if no value matches the conditions,
    or the table not found in the database.
:rtype: int