I was under the impression that only the kills you get with ordnance count when scored as bomber, and that kills with the fixed forward guns and/or ordnance were both tallied under attack.
Kills as a gunner are separate, presumably since you can gun for others, and the system sees you as attached to a player, and not a plane type.
That's the impression I have though.