remove numberOfRows private memeber because it only used in UpdateRowCount.