Better check on the incoming Count value.  Fixes #12.  Thanks @mowaterfowl