count the number of toys before collecting them in the toy b