fix type in resource_collection aliases for size/length/count