API GetNumCompanions

Returns the number of mounts.
 count = GetNumCompanions(type)
==Arguments==
:;type: - Type of companions to count: "CRITTER", or "MOUNT".
==Returns==
:;count: - The number of companions of a specific type.
==Example==
The following snippet prints how many mounts the player has collected.
 local count = GetNumCompanions("MOUNT");
 print('Hello, I have collected a total of ' .. count .. ' mounts.');
==Patch changes==