How do you make a simple digital object counter and its circuirt diagram?