setCountAll() example added