title: AngularJS - Display length of filtered data?
body: <p>I have a data array which contains objects (JSON format). </p>
  
  <pre><code>var users = {
    'New':{
      {Name:'One'},
      {Name:'Two'}
    },
    'Old':{
      {Name:'Three'},
      {Name:'Four'}
    }
  </code></pre>
  
  <p>And i use this construction to display data:</p>
  
  <pre><code>&lt;div ng-repeat="(key, value) in users"&gt;
    &lt;p&gt;{{key}}&lt;/p&gt;
    &lt;div ng-repeat="user in value | filter: query"&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How do I get the count of filtered data? 
  Thanks in advance for your reply!</p>