On Sun, Jan 20, 2019 at 6:51 AM J. Nathan Matias <natematias@gmail.com> wrote:
I have a question about how the pageview metrics for Wikimedia commons images accumulate– are they the total view count of that image anywhere, or just when embedded in commons?

They don't include either; those are pageview metrics. They will give you how often the image description page has been viewed.
Media view metrics currently only exist in a raw dump format: https://wikitech.wikimedia.org/wiki/Analytics/Data_Lake/Traffic/Mediacounts
There is an unofficial (and largely undocumented) API at https://tools.wmflabs.org/mediaviews-api/api/2
The task for having an official API is https://phabricator.wikimedia.org/T207208