Analytical approach to subhalo population in dark matter haloes