What's the best way to get the number of faces detected ?

Options

I need help with a script to get the number of faces detected with facefound event.