Repeat prelab

Counts how many letters repeat in a given string.
-function-