Count the number of photo items only