How to count downloads?

Good day. I want to do updater plugin for KDE plasmoids. Is downloading a plasmoid via a direct link counted as downloading via newstuff or from the widget page (to count the number of downloads)?