LINQ - How to sum row values in same group and create count column Linq query?

LINQ - How to sum row values in same group and create count column Linq query?

I have this query

I have this query

from cs in summary
group cs by cs.groupId

but I can't add a select at the end. I'm trying to group by the group Id and have a column for sum of cs.count that have the same groupId. So the table would look like

csgroup1 sum1
csgroup2 sum2

and when you expand each group it'll show all the rows

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

C/C++ vs. Rust: A developer’s perspective

In this post, you'll see the difference between Rust and C/C++ in a developer’s perspective

Compiled C# Linq expression and querying Mongo

I've inherited some code from a former employee that queries a mongo DB using compiled Linq expressions and the&nbsp;<a href="https://github.com/RobThree/MongoRepository" target="_blank">MongoRepository library</a>&nbsp;(which sits on top of the MongoDB C# driver).