Text this: Supersaturation problem for color-critical graphs