How do I figure out how many proficiencies I get at level 1?

My character is a high elf rogue with criminal background. I ended up with proficiencies in acrobatics, deception, investigation, perception, performance, sleight of hand, and stealth.

This gives me 7 skill proficiencies which seems like too many. Did I make a mistake somewhere?

Do you gain additional skills proficiency from race and background? For example, do I get deception and stealth just because I chose criminal?

Do High-elves get perception from keen senses?

Or are these just additional choices I have to pick from?