Refactored anonymous method returning washlink totals to handle null values