Write SQL query to solve given problem: How many images have over 20 object samples?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T1.IMG_ID) FROM ( SELECT IMG_ID FROM IMG_OBJ GROUP BY IMG_ID HAVING COUNT(OBJ_SAMPLE_ID) > 20 ) T1