Added new function related to PrimitiveType enum

Gets the number of vertices per each instance of the given primitive.