title: ruby array iteration, counting only occupied indices
body: <p>I'm trying to count the number of occupied spaces, then return that count from <code>#turn_count</code>. Right now I'm returning the orig array.</p>
  
  <p>I'm also counting every iteration, instead of occupied indices.</p>
  
  <pre><code>board = [" ", " x", " ", " ", "O", "O", " ", " ", "X"]
  
  
  def turn_count(board)
    counter = 0
  board.each do |index|
  
    if index = "x" || index = "o"
      counter += 1
      puts "#{counter}"
    end
  end
  
  end
  
  turn_count(board)
  </code></pre>