def __len__(self):
try:<EOL><INDENT>return self._len<EOL><DEDENT>except:<EOL><INDENT>self._len = len(self._columns.keys())<EOL>return self._len<EOL><DEDENT>
Returns the number of columns defined on that model.