To be very honest, it depends on your business type. There is no such thing as "too many or too few pages" for a website. Only your need and type of business can decide the limit.
Your websites drive more traffic for having fresh, high-quality content not for how many pages you have.
The user experience, however, will be compromised by the creation of pages for SEO purposes. Therefore, if your brand is small and local, you generally just need 5 to 10 pages to reach your target market. You will need extra if you're putting up an internet store that ships to other countries or cities. This is because every country has a different location, need, and type of people.
For the majority of small to medium enterprises, 10 to 30 pages of carefully prepared content showcasing your goods and services should be sufficient. You will get benefits as long as you put the user experience first.