new RoiCounter (not compatible with the previous version)
RoiCounter patch