A bitcoin full node, with all its thousands of lines of code and years of work by hundreds of contributors, has exactly one job: To provide you, the user, with confidence that money you receive will be accepted as money by the next person you send it to. That confidence is expressed by a single integer from the software: the number of confirmations your transactions have.