size_t getRowNum () const get number of rows of the entire table. Returns: number of rows of the entire table