In the movies he doesn't say an exact number, when EV-9D9 asks C3PO:"How many languages do you speak?," C3PO answers: "I am fluent in over six million forms of communication...."Reference: Star Wars, episode V transcripts.