The Magician's Counting Book