How many developers should a project have?

I’m really not aware of any such norms. It all depends on the volume and scope of your project. Small projects are relatively easy to manage by individual programmers. Most of the software projects fall in this category. For large projects however you need hiring multiple programmers.

In some cases, there is a strict timeline to follow. You may need different professionals from multiple disciplines with varied skill sets to work together simultaneously in one project.