Is this true

Dispersion forces generally increase in strength as the number of electrons in a molecule increases.

The number of electrons can only increase if more atoms are added to the molecule. The molecule has to stay electrically neutral. Dispersion forces are of greater consequence to high MW molecules. So, in a round about manner, true.

If you mean as the atomic numbers go up, then yes, because there are more electrons to have dispersion.

Yes, it is true that dispersion forces generally increase in strength as the number of electrons in a molecule increases. The strength of dispersion forces is directly related to the size, or electron cloud, of a molecule. Dispersion forces, also known as London dispersion forces or Van der Waals forces, result from temporary fluctuations in electron distribution within a molecule, causing temporary dipoles. These temporary dipoles can induce temporary dipoles in nearby molecules, leading to attractive forces between them.

The number of electrons in a molecule can increase by either adding more atoms to the molecule or by increasing the atomic numbers of the atoms within the molecule. In both cases, as the number of electrons increases, there is a larger electron cloud, resulting in a stronger dispersion force.

It is worth noting that other factors, such as molecular shape and polarity, can also influence the strength of intermolecular forces. However, in general, an increase in the number of electrons leads to stronger dispersion forces.