Quantification via Gaussian Latent Space Representations