Write SQL query to solve given problem: How many images have at least 25 attributes?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(*) FROM ( SELECT IMG_ID FROM IMG_OBJ_att GROUP BY IMG_ID HAVING COUNT(ATT_CLASS_ID) > 25 ) T1