feat: add total counter, add example file to README