The viola section is the "middle voice" of the string family, and its size is scaled to balance the larger violin sections.
The exact number depends on the orchestra's budget, the repertoire being performed (Mahler or Strauss require larger forces than Haydn or Mozart), and the music director's preference for sectional balance.