Automatic instrument for aerosol samples using the beta-particle attenuation