Short answer: If you're not a professional or if you only play one style of music then you can easily get by with only one guitar. Whether or not you want to is an entirely separate question. You could say that the optimal number of guitars is 3 – an electric guitar, an acoustic guitar and a classical guitar.