static Total TotalByLength(TotalWordsForGivenLength query, Connection <string> connection) { return(new Total(ByLength(new GivenLength { Length = query.Length }, connection).Count())); }
static Total TotalByLength(TotalWordsForGivenLength query, InMemoryListProvider <string> inMemoryListProvider) { return(new Total(ByLength(new WordsOfGivenLength { Length = query.Length }, inMemoryListProvider).Count())); }