Write SQL query to solve given problem: How many self-relations are there between the object samples in image no.5?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT SUM(CASE WHEN IMG_ID = 5 THEN 1 ELSE 0 END) FROM IMG_REL WHERE OBJ1_SAMPLE_ID = OBJ2_SAMPLE_ID