One approach to this would be to make a continuous view form based on
the table, in the footer of the form put an unbound textbox with its
Control Source set to =Count(*) and then in the Repeat Count argument of
the RunmMacro action, refer to this textbox using syntax such as
=[Forms]![MyForm]![MyTextBox]