Update counter.rb

added a missing 'end' for 3 card combo