Only get the latest stats while framework is open
Only get the latest stats while framework is open

To keep the statistics fresh, we append the latest numbers to the table every
time the page is loaded.

These numbers won’t change after close of submissions, so we should only do it
when the framework is in an 'open' state.

alphagov/digitalmarketplace-admin-frontend,alphagov/digitalmarketplace-admin-frontend,alphagov/digitalmarketplace-admin-frontend,alphagov/digitalmarketplace-admin-frontend