let dismissals = this.props.fielddata.playerRecords.reduce( (a,{season, fielding}) => {
console.log(fielding);
if(!a[season]){
a[season] = { sum:0 };
}
if(fielding.length === 0){
a[season].sum += (fielding.totalCaught + fielding.totalRunout + fielding.totalStumps);
}
return a;
}, {});