How To Count Characters In Javascript Code