Counting elements using capybara and rspec