import re
texto = re.sub('<[^>]+?>', '', texto)
Use o comando count()
s = 'bola bola bola gol chute gola goleiro bola'
x = s.count('bola')
print(x)
import re texto = re.sub('<[^>]+?>', '', texto)