changed .count to .size to support legacy ruby
Merge branch 'mhellmic-2.x' into 2.x

* mhellmic-2.x:
  changed .count to .size to support legacy ruby
Merge branch '2.x' into 3.x

* 2.x:
  changed .count to .size to support legacy ruby
Merge branch '3.x' into 4.x

* 3.x:
  changed .count to .size to support legacy ruby
Merge branch '4.x'

* 4.x:
  changed .count to .size to support legacy ruby

closes #131