fix `.count` to accept options