Currently, the Database.ObjectsCount function will join tables if a table join is defined. However, determining the number of objects in a collection does not require table joins as joins are only used to improve performance when loading objects. Furthermore, unnecessarily joining tables will adversely affect performance.
Does not utilise IDatabaseObjcts.TableJoins when counting objects. Cl…