the USAF situation is even somewhat more complicated. The actual number delivered may vary due to a number of factors.
Production for USAF is 2 YF-16's, 670 F-16A's (including 6 FSD), 123 F-16B's (including 2 FSD), 625 F-16C's (Block 25/30/32), 87 F-16D's (Block 25/30/32), 1 NF-16D VISTA, 384 F-16C's (Block 40/42), 78 F-16D's (Block 40/42), 231 F-16C's (Block 50/52), and 40 F-16D's (Block 50/52). That would make a grand total of 2241 airframes.
But, 1 F-16B was transferred to Egypt soon after delivery (getting a 9F- type/version ship number) which may explain the published number of 122 F-16B's delivered (BTW, also 1 F-16B destined for the KLu was transferred to Egypt with a 9F- TVSN). Also, the NF-16D may have left out of the generally accepted number of 2238 as it is an experimental aircraft. Or F-16C 90-0832 (CC-32) has been omitted from the numbers since it crashed during a pre-delivery test flight.
To my knowledge, total production of F-16's to date is 4598 which includes the two prototypes.