Support for remote counters based on the job output directory

This change uses the history files in the `_logs` directory within a jobs output directory to retrieve counters.