PYTHON | FIND METHOD :     def count_substring(string, sub_string):
        count = 0
        for i in range(0 , len(string)):
        if ( string[i: ].find(sub_string)) == True:
            count = count +1
        return count


STRING = 'ininini'
SUB_STRING = 'ini'

CORRECT OUTPUT : 3
MY OUTPUT : 2
it is not detecting the last substring.