@Brandon ***********
Immigration Officers do not calculate anything on the spot. It is ready for them to see on their computer screens, automated. Then, their discretion, to do nothing and let you in or warn you for the next time or even worse, deny the entry.
When I applied for Yellow Book (Bangkok, Samut Phrakhan), there was a question: "How many extensions I have had over last 25 yers". Zero, the officer just nodded.