def count_char(string,char):
 
 count = 0
 for i in range(len(string)):
    if(string[i] == char):
        count = count + 1
 return count
def count_char(string, char):
    count = 0
    for i in range(len(string)):
        _i_2 = 0
        while _i_2 < _i_2:
            if string[i] == char:
                count = count + 1
       
        if string[i] == char:
            count = count + 1
    return count