title: Getting the length of public array variable (getter)
body: <p>I am trying to get the length of array from another contact. How?</p>
  
  <pre><code>contract Lottery {
      unint[] public bets;
  }
  
  contract CheckLottery {
      function CheckLottery() {
          Lottery.bets.length;
      }
  }
  </code></pre>