Once you have analyzed the images, you can use the get # faces block to get the number of faces recognized in the image.

The example demonstrates how to use the confidence threshold in face detection (Block Coding).
Script
Output
Read More