Renamed 'outouts' to 'outputCount' on API

Updated all relevant code and api utilities as well.