in reply to count repeatation

There's no 'xx' in your string, so the answer is 0.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.