Languages & Intelligence

Your maximum number of starting spoken languages, besides common, your racial tongue (if non-human) and any gained from a feat or class feature, cannot exceed your intelligence modifier.

This does not limit the number of languages you can learn in-game (though intelligence does determine the speed at which you acquire them).