https://wikimass.com/python/string-count