In order to be in compliance with 922(r), your rifle must have no more than ten foreign-made parts from the following list of parts:
Receiver the stamped steel part that the bolt and carrier are in
Mounting block (front trunion) part inside the receiver that the barrel attaches to
Muzzle attachment flash hider or brake
Operating rod (charging handle)
Trigger housing the box inside the grip frame that holds all the trigger parts
Follower part that pushes cartridges up inside the mag
Floorplate bottom of the magazine
As long as the rifle has 10 or less foreign-made parts from the above list, it is compliant. If it has 11 or more, it is not.
Foreign made parts that are not on the above list have no impact, and it does not matter how many US-made parts it has, all that matters is that there is no more than 10 foreign parts from the above list.
You can adjust which foreign-made parts you use by switching out other parts for US-made parts, keeping a balance of 10 or less foreign parts from the above list.