You can use an unlimited number of editable shapes for isolation (mattes) or as an effect themselves.
Shapes are available as separate (user) effects, as part of an Effect Layer and as part of any Colour Correction Layer (CC Layer).