Rather than using the count API call the route uses the compounds from the metabolites part of the pathway info.