Added two calls to onSucess

Allow to listen to onSuccess if no data or if data total is 0