Adding support for labmda function as counter-cache-config