Stat view and stat download

Hi! How can I enable the stat view and download in our journal? Thank you.

Like this:

See this thread for discussion of how to do this in OJS 2.x: