Fast Enterprises Interview Question

Write a function that counts all the "A's" in a string.