Oh, he doesn't.  He doesn't know at all: he's just trying to make an age joke.  He totally stumbled into that and didn't so much as put his foot in his mouth as shove it so far in that he's kicking the back of his other leg.