Letter count script