Cabinet screws per linear foot of width
One 3" screw per available stud through the top rail is usually adequate unless specific conditions warrant more. For long cabinets, one every second stud is probably fine. 

For your specific example, one screw is fine assuming additional anchoring to adjacent cabinets or end walls. If you find that things don't seem secure, add one low as well.