I have a table that has a processed_timestamp column -- if a record has been processed then that field contains the datetime it was processed, otherwise it is null.
processed_timestamp
If your database has an efficient COUNT(*) function for a table, you could COUNT whichever is the smaller number, and subtract.