title: Bind to ICollectionView.Count property in XAML
body: <p>I'm trying to bind a text box to the count of a filtered, collection view in XAML.  It doesn't generate any errors but it also doesn't produce any output.  Does anyone know how to do this?</p>
  
  <p>Here's are some snippets of my XAML:</p>
  
  <pre><code>&lt;Window.Resources&gt;
    &lt;CollectionViewSource x:Key="MyView" Source="{Binding MyBinding}" Filter="MyFilter" /&gt;
  &lt;/Window.Resources&gt;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>&lt;TextBlock&gt;
    &lt;TextBlock.Text&gt;
      &lt;Binding Source="{StaticResource MyView}" Path="View.Count"  
        StringFormat="{}Count: {0:D}" /&gt;
    &lt;/TextBlock.Text&gt;
  &lt;/TextBlock&gt;
  </code></pre>
  
  <p>Basically, I'm trying to display the count of filtered items in the List.</p>