Ensured that list_count() and list_lookup() make use of the comparator function, if one has been provided when constructing the list.
Ensured that list_count() and list_lookup() make use of the comparator
function, if one has been provided when constructing the list.

dryproject/libcpr,dryproject/libcpr,dryproject/libcpr,dryproject/libcpr,dryproject/libcpr,dryproject/libcpr