fix(plugins): have counter-cache use correct way of defining default values