Referring to Plasma Astrophysics, Part 1, Eq 4.32,
The number density of electrons in the beam at a distance $z$ from the injection plane at $z = 0$ is defined as,
$$ n_b(z) = \int_{0}^{\infty} \int_{0}^{\pi} f(z,v, \theta) v^2 dv 2 \pi sin \theta d \theta $$
where $f(z,v, \theta)$ is the distribution function defined in terms of
$z$ - coordinate along the direction of the magnetic field
$v$ - velocity of electrons
$\theta$ - angle between $z$ and $v$
How did this definition come about?