Returns the number of items in the row.
Use this function to determine the number of items in the row.