Adding counter to summarization script