Added support for calling count_by without a block
Merge pull request #1 from julioolvr/no-block-support

Added support for calling count_by without a block