add WA count for external sort