Computation of the number of primitive sorting networks on n elements