Fix grid footer number unaccurate

update footer number was not accurate