When the person at check in scans your passport it also records on the immigration system that you have left/about to leave the country, by inputing the right words on the system a list of all the times a person has left and entered the country can be shown,
and of course all persons leaving EU for USA must given 72 hrs written notice of their plans,