So this is what I have :

5335 5335 5290 5335 5245 5245 5245 5290 5290 5290 5245 5245 5245 5245 5245 5245 5289 5289 5289 5289 5289 5317 5317 5317 5317 5317 5317 5317 5317 5317

in this string you see multiple different numbers, how do i count the different numbers and how much there are?

The numbers are over 90 different possibility's

thanks for your time

```
array_count_values(explode(' ', $string_of_numbers));
```

This assumes that each number is separated by a single space.