RR: refactor dataset shared status count