SyntaxFix
Write A Post
Hire A Developer
Questions
You should be able to do the count on the purch variable:
purch.Count();
e.g.
var purch = from purchase in myBlaContext.purchases select purchase; purch.Count();