Use str.count() instead of a regex.
Text cleanup.