Grimm's Rainbow Counting Puzzle