Transform range of datetime to seconds

Hi,
Im usign grafana v9.1.6 with supersetdb
I want to create a panel where it shows how many seconds my time filter has.

Kevin.