Fix an issue that the number of parameters of all the records are added to Router.SizeHint