Under certain conditions we decrement the `__count` attribute too often, which can result in `onInteractionScheduledWorkCompleted` being called prematurely and/or more than once for a given interaction.

- [x] Track interactions scheduled during (sync) render phase.
- [x] Do not double-decrement suspense loads within a sync render.
- [x] Do not decrement sync commits that are waiting on suspense when the `Placeholder` is past its expiration.
- [x] Properly decrement pending interaction count when a suspense resource loads before its placeholder is shown.
- [x] Add test with high priority render between suspended and resolved suspense states (for both sync and async rendering)
expect(onWorkScheduled).toHaveBeenCalled();
        expect(onWorkScheduled.mock.calls[0][0]).toMatchInteractions([
          interactionLowPri,
        ]);
        expect(renderer).toFlushThrough(['FirstComponent']);
        expect(onRender).not.toHaveBeenCalled();
        expect(onInteractionTraced).toHaveBeenCalledTimes(1);
        expect(onInteractionTraced).toHaveBeenLastNotifiedOfInteraction(
          interactionLowPri,
        );
        expect(onInteractionScheduledWorkCompleted).not.toHaveBeenCalled();
        expect(getWorkForReactThreads(onWorkStarted)).toHaveLength(1);
        expect(getWorkForReactThreads(onWorkStarted)[0][0]).toMatchInteractions(
          [interactionLowPri],
        );
        expect(getWorkForReactThreads(onWorkStopped)).toHaveLength(0);
        advanceTimeBy(100);
        const interactionHighPri = {
          id: 1,
          name: 'highPri',
          timestamp: mockNow(),
        };
        
        
        renderer.unstable_flushSync(() => {
          SchedulerTracing.unstable_trace(
            interactionHighPri.name,
            mockNow(),
            () => {
              second.setState({count: 1});