Count Same Value In Array Javascript Example