code: def size(self):
          
          return len(self._query_compiler.index) * len(self._query_compiler.columns)
docs: Get the number of elements in the DataFrame.
  
          Returns:
              The number of elements in the DataFrame.