add checks for the number of represented objects in the results