Use rxCount instead
rxCount()
Get the count of elements in an asynchronous way, returning a Single.
Single
A Single object with the element count