I changed the Person controller and Home view.  

I have 209 people in the database. And that's how it shows me in the Person view.  

When I interrupt the code count shows me 0. 

View Home:
I also made changes here.

```
 @model Legolandia.Models.Store    
    @{    
        ViewBag.Title = "Home Page";
    }

    <div class="jumbotron">

    <div class="row">
     @section Scripts {
    <script>
// document.ready is fired once the page has loaded in the browser
$(document).ready(function () {
    // set the url to get the data from the PersonController
    var url = '@Url.Action("GetPersonCount", "Person")';

    // use jQuery.getJSON to get our data from the controller
    $.getJSON(url, function(data) {
        // update the element with the count from the controller
        $('#personCount').text(data.count);
    });
});
    </script>
}
        <div id="orange" class="col-md-4">
            <a class="change-a" href="/Person/Index">

                <div class="change-title">
                  Person in system: <span id="personCount"></span>
                </div>

```

Controller Person: 

I also made changes here.

```
  using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Data.Entity;
    using System.Linq;
    using System.Net;
    using System.Web;
    using System.Web.Mvc;
    using Legolandia.Models;

    namespace Legolandia.Controllers
    {
        public class PersonController : Controller
        {
            private LegolandEntities db = new LegolandEntities();

            // GET: Person  

            public ActionResult Index()
            {
                var person = db.Person.Include(o => o.xxx);
                ViewBag.PersonCount = db.Person.Count();
                return View(person.ToList());
            }

   public ActionResult GetPersonCount()
        {
            var count = db.Person.Count();  // get count from database
            var data = new { count };       // anonymous type
            return Json(data);              // return serialized Json data
        }

```