Counting numbers with specific digits