deprecate countmap in favor of counts