Write a function count_a(s, stop) that given a string s and a character stop returns the number of times that letter a occurs in s before
the first appearance of character stop. If character stop is not in s, the function must return −1.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.