There are three ways to create a non-parametric Shape Layer Path -
1) You enabled the Bezier Path checkbox – see the image below
2) Use the Pen Tool to create a Shape Layer Path
3) Hold down the ALT key when a Quick Mask Tool is active while dragging in the Comp Panel.
Thanks but this is not an answer to my question.
I'm trying to find the size of the rectangle shape in pixels..
The answer should have been. "Uncheck the Bezier Path when you create your shape and you will see the size of the shape"