Add methods numRows() and numCols()

@lileicc 
NUM_COLS