Analyse images and automatically count the amount of people / persons which can be recognized therein.
These resources below will help you to get started to build a fully-functional AI prototype for this use case.