var tothits = wiki.Query.search(title).ToEnumerable().Count(); How can I optimize this statement? It 's really slow for many results. thanks