say i have a spatial distribution of frequency count for 9 categories like this

3, 4, 9

4, 1, 3

2, 6, 5

How do i test whether this distribution is random using chi sq? (no other information is given)

here's what I did. I define freq count, then the observed value is how many times in this distribution the freq count occurs. For example, freq count 9 occurs 1 time, so the observe value is 1.

Freq count 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

observed value 0, 1, 1, 2, 2, 1, 1, 0, 0, 1

Expected value ?

How do i find the expected value in this case? Is this the correct way to test?

In this case, the degree of freedom is 10-1 = 9 right?