s.count(x)
return number of i's for which
s[i] == x