How to Set Up a Smart Counter