Application object
This method returns the number of different form types in the database. Use this method in combination with GetNameOfForm. It compiles a list of form definition names based on the current situation in the database. If this method is used during production, it is in effect a snapshot of the data.