Write a Python function to count the number of occurances of a given letter in a given string.
s = "Hello World"
def count_letter(s, letter): 
    count = 0
    for char in s:
        if char == letter:
            count += 1
    return count

s = "Hello World"
letter = "l"
print(count_letter(s, letter))