def METHOD_NAME(self, **kwargs):
    sql = 'select count(*) from {}'.format(self._address.name)
    try:
        self._cur.execute(sql)
        self._con.commit()
        ret = self._cur.fetchall()
        count = ret[0][0]
    except BaseException:
        count = 0
    return count