Counting people in an image of a crowd
Here a convolutional neural network (cNN) based approach is presented:
Image Crowd Counting Using Convolutional Neural Network and Markov Random Field

This blog post has more of a tutorial character and also present an approach based on CNNs
Counting Crowds and Lines