Sometimes we have a sequence—string, list, or tuple—and we’d like to know how many times a particular element occurs in the sequence. Python supplies a .count() method for each of these types. This ...