Setup a serial tap to via the messages over a set time frame and calculate the requirement.
Counting the good/bad frames may not help, modbus messages can vary in size/length from 1 register/coil to hundreds, even thousands (coils).
-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.