Gusto interview question

Given the following JSON data, aggregate statistics based on the request.