With 2 cores available on the Raspberrypi Pico it is a waist to let one be idle!
Here is an example code for utilizing one core for a counter (could also be a sensor continuously measuring) and allowing interaction with the second core from the first.