It Chapter 2 *SPOILER ALERT*

Bre

I really like the movie, but there's one little thing I don't get. How was Stanley the only one able to remember what happened to them in Derry, aside from Mike of course?