5 Fully integrated counter