add counting line-number in selected buffer