[math-fun] Another counting problem