public long Count() { Query.ResultType = ResultType.Count; return(Engine.GetCount <long>(Query)); }
public long Count <T>() { return(Engine.GetCount <long>(new DocumentQuery(GetTypeOfName <T>()))); }