Working with array of dirty words and outputting which how many rows had dirty comments