We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

list.count

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