Flickr keeps statistics only for the last 30 days (or so).
This Python script downloads the statistics to a local folder.
$ sudo easy_install flickrapi
$ mkdir -p /Users/ilg/bin/flickr
$ cd /Users/ilg/bin/flickr
$ git clone https://github.com/ilg-ul/flickr-get-stats.git flickr-get-stats.git