New user rest APIs

Do you want to add a WHERE qa.state = quiz_attempt::IN_PROGRESS?  Otherwise, this will count all open, closed, overdue and abandoned attempts.  Just unsure what exactly must be counted.