If I get what you're saying correctly, you want to pad out your rowcount with leading zeros up to 8 characters?
If so, you would first need to convert the rowcount to a string and then use this expression in a variable:
REPLICATE(“0?, 8 – LEN([i]converted_rowcount[/i])) + [i]converted_rowcount[/i]