Write a program whose input is a DNA sequence (a string), and whose output indicates the number of times the nucleotide base 'g' is found in the sequence.
Ex: If the input is:
agtctstcgtatgg
the output is:
4
Ex: If the input is:
gctgcgtttgggtagt
the output is:
7