title: Shopify: displaying cart's item_count dynamically
body: <p>We have the cart.item_count displayed in the header. That's fine for most pages. But on one page, we dynamically add items to the cart, and we want the changes to be reflected in the cart summary in the header.</p>
  
  <p>I'm thinking we need RivetsJS for this to work; so we'd have a one-way binding. I tried a couple of ways:</p>
  
  <pre><code>&lt;span rv-text="cart.item_count"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>{ cart.item_count }
  </code></pre>
  
  <p>The first showed up empty, the second displayed the curly braces and cart.item_count, literally.</p>
  
  <p>What am I doing wrong? Do I need to do a rivets.bind() somewhere?</p>