See
str.count
.