More work on statstics-resource, now able to get statistics based on field-url-parameter