Get active student count from new analytics data API

Disabled by default.
Do not refund student if a certificate entry already exists for them.

LMS-2920