@Override
	public int observed(String sequence) {
		char seq[] = sequence.toUpperCase().toCharArray();
		int cpg = 0;
		for( int pos = 0; pos < (seq.length - 1); pos++ )
			if( (seq[pos] == 'C') && (seq[pos + 1] == 'G') ) cpg++;

		return cpg;
	}