As our project go on, we store lots of data into ldap, now we should do some statistics on these data, such as who is the oldest or even who is the oldest 1000 or how many people live in CA. Could ldap do that?