Count the objects and select the correct number

RECOGNIZING BEFORE COUNT