craiggwilson/fluent-mongo — Issue #41: The query is too complex to be processed by MongoDB. Try building a map-reduce query by hand or simplifying the query and using Linq-to-Objects.
Author: dotnetpro
Created: 2011-11-28 16:32:05+00:00
State: open

Having the above exception when I try to do a Count...

```
IQueryable emailQueues = repository.All().Where(x => x.DateScheduled.Value > DateTime.Now).Take(50);
int count = emailQueues.Count();
```

If I iterate through the emailQueues, its fine, but if I do a LINQ Count(), then it throws the above exception.

Any ideas?