title: Get total remote branches in Git
body: <p>How can I get the total number remote branches in Git?</p>
  <p>To get all the remotes branches, I do this statement below, but I cannot get the count/total of these branches. I tried <em>--count</em>, but it didn't work:</p>
  <pre><code>  git branch -r
  </code></pre>
  <p>How would I get just the count of these?</p>