liblist-c : modify count to add a comparison element in parameter