private static int ResultTotal(Dawg dawg, IEnumerable <string> searchTerms, uint maxEdits) { return(searchTerms.Sum(searchTerm => dawg.Lookup(searchTerm, maxEdits).Count())); }