Weapon kill trackers in collections are based on currently equipped weapons.
The trackers that you can view in collections on weapons aren't based on any owned versions of the weapon or set at 0 (if not owned) but instead show the kills that your currently equipped kill tracker enabled weapon. It isn't based on ammo type but just which slot they're in.
Expected outcome: weapons show the kill tracker for any currently owned weapons or 0 since multiple copies have different kill counts
Clip: https://www.youtube.com/watch?v=msFKzKmUyDg
The clip shows my night watch having 6604 kills and all weapons I checked in collections also showing that in their kill trackers, same thing for arbalest which showed 6604 kills with night watch but only having 1988, The energy slot check at the end showed the kill count for my calus mini tool.
Replication:
Equip weapon with kill tracker in any slot, check the kill tracker on a weapon in the corresponding slot in either the exotic or legendary weapon collection pages; it will show the same as the currently equipped one.