Basic Usage Counter implementation with middleware added to a generic function prop To run example, please refer to examples/README.md