Create auto cohorts when list_cohorts is called and return number of users per cohort.

TNL-186
Merge pull request #5133 from edx/christina/cohorts-api

Create auto cohorts when list_cohorts is called.