Write SQL query to solve given problem: How many attributes are related to the object sample no. 7 on image no. 4?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(ATT_CLASS_ID) FROM IMG_OBJ_ATT WHERE IMG_ID = 4 AND OBJ_SAMPLE_ID = 7