Advent of Code 2020 Day 2

Today the puzzle was to check passwords for a Toboggan rental shop. The first part was to check the count of a given character. The second part was to make sure the character was in only 1 of 2 given spots.