so um how do we know how much ammo is currently loaded
It shows you when you pull out your gun.
and are those yellow cartridges for the pistol or something else?
Those are alloy plates. You're collecting them for a blueprint.
also examine keycard thingy
That is a control module. You need two of them for the aforementioned blueprint.