Problem: DNA-1, CGTA counting

Problem Statement

Given a strand of DNA determine the number of cytosine nucleotides present in the genome. The strand is represented by a string containing only the lowercase characters 'c', 'g', 't', and 'a'. Your method should return the number of occurrences of 'c' (cytosine) in the genome.

Definition