19 times.
Without Artoo's timely, brave, and skilled intervention on 19 separate occasions, our heroes would have been killed and all hope for a galaxy free from the Sith menace would have been over.
What did he get for it? Well, Amidala thanked him and gave him a cleaning, which is nice.
Artoo may get a better offer from the dark side. At least the Empire pays its soldiers.