<?php
$jogos = [
1,4,10,22,53,54,
4,9,37,43,44,56,
10,30,31,33,42,52,
22,29,38,43,48,53,
11,16,17,41,46,59,
3,10,13,25,41,42,
17,31,34,40,56,57,
26,36,42,48,54,58,
8,9,17,19,33,56,
5,12,32,38,47,
11,14,36,41,54,59,
20,34,38,40,49,54
];
// adicionando um elemento
$jogos[0] = 2;
// adicionando um jogo com 6 numeros
array_push($jogos,12,23,45,46,55,60);
var_dump(array_count_values($jogos));
daniel@DELL-G4Y5LQ3:~/Curso_Alura$ php numeros_mega.php
array(47) {
[2]=>
int(1)
[4]=>
int(2)
[10]=>
int(3)
[22]=>
int(2)
[53]=>
int(2)
[54]=>
int(4)
[9]=>
int(2)
[37]=>
int(1)
[43]=>
int(2)
[44]=>
int(1)
[56]=>
int(3)
[30]=>
int(1)
[31]=>
int(2)
[33]=>
int(2)
[42]=>
int(3)
[52]=>
int(1)
[29]=>
int(1)
[38]=>
int(3)
[48]=>
int(2)
[11]=>
int(2)
[16]=>
int(1)
[17]=>
int(3)
[41]=>
int(3)
[46]=>
int(2)
[59]=>
int(2)
[3]=>
int(1)
[13]=>
int(1)
[25]=>
int(1)
[34]=>
int(2)
[40]=>
int(2)
[57]=>
int(1)
[26]=>
int(1)
[36]=>
int(2)
[58]=>
int(1)
[8]=>
int(1)
[19]=>
int(1)
[5]=>
int(1)
[12]=>
int(2)
[32]=>
int(1)
[47]=>
int(1)
[14]=>
int(1)
[20]=>
int(1)
[49]=>
int(1)
[23]=>
int(1)
[45]=>
int(1)
[55]=>
int(1)
[60]=>
int(1)
}