Fixed: Used wrong groupId for getting ROI count
Merge pull request #3284 from dominikl/roi_count_fix

Fixed: Used wrong groupId for getting ROI count