How To Use Count In Javascript