Fix students count in tasks list - refs #6599