Fast Enterprises interview question

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