Advanced people, and or face counter

Hi
Have been searching without luck for Open CV code examples that would provide advanced people and or face tracking-counting in crowd situations. Similar to these examples



Is there anything in the ofxCV library that would allow this?