Discrete Density Comonads and Graph Parameters