allows #count to take a range argument for random count

This seems to work, however it also begs the question if ```rand``` ought to be depreciated since ```count``` can now handle rands. So instead of rand: whatever, you can use count for fixed counts or random counts. Seems like that might clean up the API even more.

If you have a better way to write this code, please let me know.