count the ocurrence of a number and put the counters in a list (scheme) : This is an example of what the program have to do;

(count ‘(1 2 3 4 5 6)) => (1 1 1 1 1 1)

(count ‘(6 8 3 6 6 1)) => (1 0 1 0 0 3 0 1)