Wise Systems (MA) interview question

How would you program a script to return the most repeated number of an array?