paste and get counter working