PyUnicode_Count

Count the number of occurrences of substr in str[start:end].

Meta