Hello all. I want to create histogram (using gd graph) from data I have in an array. The problem is, I don't know how to count the number of times a number occurs. My array contains two sets of numbers I want to count: outward travel time and inward travel time.