A sample of N2 (g) and a sample of O2 (g) have equal volumes and are at identical temperatures and pressures. Assuming that N2 (g) and O2 (g) both show ideal behavior, which of the following statements is TRUE about the number of molecules in the two samples?

I don't see any statements printed but you want the statement that the two samples have the numbers of moles or the same number of molecules.

Notice that PV = nRT. So if P is the same, V is the same, R(constant) is the same, and T is the same, then n = number of moles must be the same.