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(getWorkForReactThreads(onWorkStopped)).toHaveLength(0);
        
        
        
        expect(onWorkScheduled).toHaveBeenCalled();
        expect(onWorkScheduled.mock.calls[0][0]).toMatchInteractions([
          interactionOne,
        ]);
        expect(onWorkScheduled.mock.calls[0][1] > 0).toBe(true);
        expect(renderer).toFlushThrough(['first']);
        expect(onRender).not.toHaveBeenCalled();
        expect(onInteractionTraced).toHaveBeenCalledTimes(2);
        expect(onInteractionTraced).toHaveBeenLastNotifiedOfInteraction(
          interactionOne,
        );
        expect(onInteractionScheduledWorkCompleted).toHaveBeenCalledTimes(1);
        expect(getWorkForReactThreads(onWorkStarted)).toHaveLength(1);
        expect(getWorkForReactThreads(onWorkStarted)[0][0]).toMatchInteractions(
          [interactionOne],
        );
        expect(getWorkForReactThreads(onWorkStopped)).toHaveLength(0);
        renderer.unstable_flushAll(['last']);
        expect(onRender).toHaveBeenCalledTimes(1);
        call = onRender.mock.calls[0];
        expect(call[0]).toEqual('test-profiler');
        expect(call[5]).toEqual(mockNow());
        if (ReactFeatureFlags.enableSchedulerTracing) {
          expect(call[6]).toMatchInteractions([interactionOne]);
        }
        didRunCallback = true;