total marks quantity on LayoutService.cs