def fun167(string):
    length = len(string)
    count = 0
    i = 0
    while i < length:
        ascii = ord(string[i])
        if ascii == 32:
            count = count + 1
        
        i = i + 1
    
    count = count + 1
    return count