How do i access score variables in datapacks

I want to do $say $(left) seconds left And the I want variable to be score #sec holder` How can i extract the variable from the code
Continue to help post