check how many values there are in a list that exists in another python o(n) site:stackoverflow.com code example
Example: how to check if value is in list python
>>> letters = [a,b,c,d,e]
>>> 'a' in letters:
True
>>> letters = [a,b,c,d,e]
>>> 'a' in letters:
True