Finding the total number of items in a display.