develop
class GladAdapter { constructor(results) { this.results = results; } transform() { const value = this.results.reduce((acc, curr) => acc + curr.alert__count, 0); return { value }; } } module.exports = GladAdapter;