Javascript Find Count Of Character In String