countInProgress function
Number of topics with any progress (anything other than 'unstarted' and
non-'mastery').
Implementation
int countInProgress(Map<String, String> topicIdToMastery) => topicIdToMastery
.values
.where((m) => m != 'unstarted' && m != 'mastery')
.length;