After migration from 2.4 to 3.x usage statistics (metrics) for Supplementary Files return 0 views because metrics for these files are now written with a different association type (ASSOC_TYPE_SUBMISSION_FILE_COUNTER_OTHER).
This has been changed with version 3.x https://github.com/pkp/pkp-lib/issues/2167
There is a getViews() function in class lib/pkp/classes/submission/SubmissionFile.inc.php that only returns views with association type ASSOC_TYPE_SUBMISSION_FILE, so stats for Supplementary files never come up anymore.
Is there a way to read these stats? Any fix/workaround?