More molecules mean more hits against the container walls. Increasing the number of particles means you have increased the density of the gas. This third factor is part of the ideal gas law, which explains how these three factors -- temperature, volume and density -- interact with each other.