added course_count

@mattdrayer This is new PR in place of #138