Patent ID: 8169650

Claim:
An image processing apparatus, comprising: a classifying unit configured to classify a plurality of images stored in a memory into a plurality of groups, according to attribute information of each of the plurality of images, each of the plurality of groups including at least one image; a generating unit configured to generate group information which indicates each of the plurality of groups classified by the classifying unit and an order of the plurality of groups, according to the attribute information; a first display control unit configured to cause a display apparatus to display an image selection window, the image selection window including; a start date setting region for designating a search start date and an image from a leading group of the plurality of groups corresponding to the search start date; and an end date setting region for indicating an end date and an image from a last group of the plurality of groups corresponding to the end date; a selecting unit configured to, in accordance with an instruction by a user using the image selection window, individually select each of the leading group and the last group among the plurality of groups indicated by the group information generated by the generating unit; a counting unit configured to, when both of the leading group and the last group are selected by the selecting unit, specify the groups from the leading group to the last group in the order indicated by the group information and to count a total number of images included in the specified groups; and a second display control unit configured to cause the display apparatus to display the total number counted by the counting unit in an image count display region of the image selection window.