That’s still more than the combined 1,144 on-duty police officers and military personnel cited in the article. So even if you don’t count suicide by gun as a death by gun violence (which is debatable), it still wouldn’t invalidate the headline.
https://en.wikipedia.org/wiki/List_of_American_police_office...