Gerard Flanagan <grflana... at gmail.com> wrote: > def count(text, *args): Other than the ability to handle multiple substrings, you do realise you've effectively duplicated str.count()?