The study of the number, distribution, and variation of languages spoken in a particular region, country, or community.