Computation of total electron scattering cross sections for molecules of astrophysical relevance