Added api docs for count, changed count to use aggregate, changed rawselet to use promises