Task: Text to Code
Input (English): How many residents does each property have? List property id and resident count.
Output (English): SELECT T1.property_id ,  count(*) FROM properties AS T1 JOIN residents AS T2 ON T1.property_id  =  T2.property_id GROUP BY T1.property_id