A simple method to measure the total coherent scattering cross sections of elements