Couldn't this just pass `@model.objectCount`? Why does the count need to be referenced locally?