Hello EveryOne im begginer so Guys :)

****
can you help me with this
how can i count the occurrence of the character ('a') in the String
Alphabet ?

and also this our assignment :...