How To Count Repeated Numbers In Array In Java