added support for coreference counts