Returns the number of tiles in a tile pattern. For example, the Basketweave pattern is made up of eight tiles, so the template attribute returns 8 for a tile surface treatment whose pattern type is Basketweave. See also Add surface treatment to partsDefine a new tile pattern