Add support for Counter injection
Factorize logic for Annotated decoration