gallery albums images_count check