How To Count Letters In Javascript