Gets the number of motifs available in the style.
object.GetMotifCount() As Long
Returns the number of motifs in the style.
If the method fails, it raises an error, and Err.Number is set.