Added word repetition count script