$resultsByCode{$_}++ for @resultStatus;