You can get the number of faces from the images. Do the following steps
1- Capture the image
2- Send it to the server via Stream or some other method
3- Follow this tutorial http://www.codeproject.com/Articles/462527/Camera-Face-Detection-in-Csharp-Using-Emgu-CV-Open
The tutorial uses Emgu CV library. It is for .net and it works.