You need to add parameters to the function like this:
textWidth=thisComp.layer(“Saturday Night Live host, Timothée Chalamet, rode away with the show on his beloved tiny horse”).sourceRectAtTime(time, false).width;
Also, sourceRectAtTime does not count for scale, so your final expression may look like this
textWidth=thisComp.layer(“Saturday Night Live host, Timothée Chalamet, rode away with the show on his beloved tiny horse”).sourceRectAtTime(time, false).width * scale[0] * 0.01;
textHeight=thisComp.layer(“Saturday Night Live host, Timothée Chalamet, rode away with the show on his beloved tiny horse”).sourceRectAtTime(<i style=”font-family: inherit; font-size: inherit; color: var(–bb-body-text-color);”>time, false<i style=”background-color: var(–bb-content-background-color); font-family: inherit; font-size: inherit; color: var(–bb-body-text-color);”>).height <i style=”font-family: inherit; font-size: inherit; color: var(–bb-body-text-color);”>* scale[1] * 0.01<i style=”font-family: inherit; font-size: inherit; color: var(–bb-body-text-color); background-color: var(–bb-content-background-color);”>;
[490.2, textHeight]