function cs = count_unique_nucleotides_n(nseq)
%#codegen
    cs = [ sum(nseq==1), sum(nseq==2), sum(nseq==3),sum(nseq==4)];
end