Gas and dust mass in the disc around the Herbig Ae star HD 169142