Square 2D : Adding number of points


From square 2D example provided by Lumerical Soultion, I would like to add number of points from 30 to more than 100.
I try to change number 30 to other numbers but script did not run with that.
Anyone can help me with this issue?
Thank you!

Link for Square 2D

Dear @hyang33

Can you please clarify what is the number of points here? i.e. is it the number of frequency points, number of monitors? and where is this number defined?