The ALMA spectroscopic survey in the HUDF: a model to explain observed 1.1 and 0.85 mm dust continuum number counts