How To Count Element In Javascript