added count cut and output of letters