Error when reshaping

I typed in the reshape function, but the grader displays this message as shown.
Is there a way to resolve this?

The number of parameters in your model is 1,386,506. This is higher than the 1 000 000 limit allowed by the grader.

Please use print(model.summary()) to view the number of parameters per layer and change your model architecture accordingly.

Added one more layer set of convolution and pooling layers and problem solved. Thanks for your help!