designName の一種である Intent モデル全体内のパーツの数を返します。
この関数は、ランタイムよりもパフォーマンスや解析向けに設計されています。
countPartsOfType ( designName As Name ) As Integer