Expose item count to the template so that it can be displayed to the user