For a random string of bases
TCTAGAGGATGCGCCGACTACCTATTTGATGCTTGACTAACGGTAACACAGTACGCT
I want to write a function in R that counts the number