A printer is typesetting a book. He needs one piece of type for each digit in the page numbers of the book. Each piece of type can be used only once. For example, page 3 and page 33 will require 3 pieces of type. How many twos will he need to number pages 1 through 232?