added count and exception_ptr