Fixing footer count