I would create a variable (interger) in your dog blueprint and then when you pick up a ball cast to the dog put in a branch if it’s less than what you need add one once you reach your desired number call your end game event, hopefully that makes sense