1. An image processing apparatus comprising: detecting means for detecting the number of face image elements, which are one or more image elements of faces, included in an image; and associating means for associating the image with the detected number of face image elements.