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):
    i2 = 0
    for i in range(len(string)):
       
        if string[i] == char:
            i2 = i2 + 1
    return i2