ScreenTime tracks your actual working-time by checking once per minute whether you have used your mouse or keyboard.
A daily total is displayed on your desktop, which helps you to plan your day and avoid diminishing returns.
The session-counter can be configured to prevent frequent pauses while starting your work or to make sure you take a regenerating break now and then.