Fixes #3469, explicit isset check for counterCache

See https://github.com/cakephp/cakephp/issues/3469