pub fn new_count_waker() -> (Waker, AwokenCount) {
    let inner = Arc::new(WakerInner { count: AtomicUsize::new(0) });
    (task::waker(inner.clone()), AwokenCount { inner })
}
Create a new [`Waker`] that counts the number of times it's awoken.

[`Waker`]: futures_core::task::Waker

# Examples

```
use futures_test::task::new_count_waker;

let (waker, count) = new_count_waker();

assert_eq!(count, 0);

waker.wake_by_ref();
waker.wake();

assert_eq!(count, 2);
```
futures-test/src/task/wake_counter.rs