def __len__(self):
sql = "<STR_LIT>"+self._key+"<STR_LIT>"+self._name<EOL>self._db._cur.execute(sql)<EOL>i = <NUM_LIT:0><EOL>for r in self._db._cur: i += <NUM_LIT:1><EOL>return i<EOL>
The row count of the table. This should be optimized.