The attached code throws an InvalidOperationException() Sequence contains no elements.
var items = collection.AsQueryable().Where(o => o.Id.Length>100).ToList();
var count = collection.AsQueryable().Where(o => o.Id.Length>100).Count(); // exception thrown here
The items value is 0. I want see count value is 0, but have exception.