Database: cre_Doc_and_collections
Question: How many collections does each document belong to? List the count and the document id.
SQL:
SELECT count(*) ,  T2.Document_Object_ID FROM Collections AS T1 JOIN Documents_in_Collections AS T2 ON T1.Collection_ID = T2.Collection_ID GROUP BY T2.Document_Object_ID