Being a combinatorist, he recognized that 1,001 is the total number of ways to pick 4 things out of a total of 14 options, so he figured they had 14 toppings and customers could choose 4. Actually, the restaurant had 26 toppings (he asked) and had picked “1,001” just because it sounded big.