MVC creating a counter for products

C#
public class EmployeeModel
{
        public int Available {get; set;}
        public int OnLeave  {get; set;}
        public int Away {get; set;}
        public int UnAvailable  {get; set;}
}@model EmployeeModel
   <div>
        <!--additional summary is displayed here-->
        <label>Available:</label>@Model.Available
        <label>Unavailable:</label>@Model.UnAvailable
        <label>Away:</label>@Model.Away
        <label>On Leave:</label>@Model.OnLeave
   </div>  public ActionResult Index()
  {
    var model = new EmployeeModel();
    model.Available = employee.count(e=> e.available);
    model.OnLeave = employee.count(e=> e.onLeave);
    model.Away = employee.count(e=> e.away);
    model.UnAvailable = employee.count(e=> e.unAvailable );
    return View(model);
  }
Source

Also in C#: