Was the idiom in Italian the same as in Spanish, "I have (e.g.,) 25 years"? That'd make it really funny.

You got it. The standard reply was "poverino" - "poor guy," said in a tone of mock sympathy.