angular/angular.js — pull request #2089 by satchmorun (2013-02-28 22:49:44+00:00)
Title: feat(ngRepeat): add a `$count` property

Exposes a `$count` property on the scope of the repeater that
holds the number of items in the repeater.

`ngRepeat` is already keeping track of the length of array, so I thought it would be nice to expose that to developers. It's especially handy when using a filter expression.