Grab top 10000 rows from Fill Table By Query in Function

Is there a way to only grab to Top rows from a Fill Table By Query widget in a function? I could write a c# block to trim it down after the fact, but I would rather just do that up front.