Divide 64 by multiple numbers, and if they divide evenly that’s how many will be in each bag for the number of bags (number you divided by). For example, dividing 64 by 8 (bags) would be 8 cookies in each bag. You can do this with multiple numbers as long as it goes in evenly