private int AutomatonQueryNrHits(AutomatonQuery query) { return Searcher.Search(query, 5).TotalHits; }