Write a JS function that counts how many times a specific letter occurs in a given string.
The input comes in two string arguments:
The first element is the string to check
The second element is the letter to count.
The output should be returned as a result of your function.