How To Count Repeated Numbers In Array In Js