Counting Wheat Heads Using A Simulation Model