You've got an early software project, it's reasonably popular. There's no known limit to the product's potential size or usefulness. You've just gotten funding.
How many programmers do you hire?
There's not enough information to answer your question, but I'll provide some parameters.
I think that's really the answer you're looking for. Like everything else in life, you can't build things too fast, even if you have tons of resources, or they'll fall apart. Hire a CTO. The CTO hires 5 senior people who get to define the next generation of the product, get familiar with it and with each other. The CTO and his people can in turn hire a 15 more people and break them into teams, and so on.
One other thing that you need to realize is that a team of 5-6 developers can a lot in a new product. At the end of the year, they'd put in 5-6 man years into the product :-).
Right, too little information. If this thing is still early and small, and your investors aren't forcing you to hire more, I feel like a great number is 3. 1 designer, 1 developer, and 1 guy who helps fall in between. Maybe he does some design, maybe more development. But can help both other folks. 37signals also shares this same advice and built basecamp originally with this number.
As was mentioned previously, hire as few people as possible. The more employees you have, the more "overhead" (read hassle) you will have to go through because no matter how good the CTO is, you will still have to deal with payroll, holidays, sickness, slacking and other interesting problems that occur when people work in groups.
From my own experience as a software developer, one rock star programmer is worth ten. You'd better get a team of the 2 greatest programmers you can find than go and hire 10 unexperienced ones. They'll get more done in the same time and do it better.
I would add that the choice of technologies is as much important. As a startup, you probably want to go for open source and languages that offer high productivity. You shouldn't worry too much about performance or scaling issues at this point. Focus on what you're good at and let cloud providers do the heavy lifting.
Talking from my own experience though, this might not hold true in all cases.
Hire one really strong, seasoned developer (or ideally have her/him on the founding team and pay less), and add 2 more. Pick a fast dev platform, and race away in an agile mode. Keep management issues to a minimum and get product built. If you can afford it at all, bring in a virtual CTO/advisor who can help set up your overall technical direction right so that you don't have to rip out all your code later, but can actually refactor it all :)
Also, demand automated testing at the unit, functional, integration and UI level, and you'll get a ton done very fast.
Depends on the product, depends on the requirements, depends on the legacy code. 1 KLoC or 50KLoC code or not code at all?
If you are just starting feel free to go up to 5, if it's legacy code I don't see a point more than 3 since you can't let them just dive into the code. So get 3 first train them, when they are confident about the code, application and the vision then you can hire 6 more if you really really need it. But it's darn rare that you'll need 10 developers in that early, and it'll pain to manage.
I would recommend the following strategy: