Database: image_and_language
Question: How many self-relations are there between the object samples in image no.5?
SQL: SELECT SUM(CASE WHEN IMG_ID = 5 THEN 1 ELSE 0 END) FROM IMG_REL WHERE OBJ1_SAMPLE_ID = OBJ2_SAMPLE_ID