https://www.mphysicstutorial.com/2021/01/digital-counter-in-advanced-electronics-synchronous-and-asynchronous.html