Count the nucleotides in a DNA (A, G, C, T) sequence or in a RNA (A, G, C, U) sequence