Write SQL query to solve given problem: How many chapters have the name Gratiano as a character for "friend to Antonio and Bassiano"?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(DISTINCT T2.chapter_id) FROM characters AS T1 INNER JOIN paragraphs AS T2 ON T1.id = T2.character_id WHERE T1.CharName = 'Gratiano' AND T1.Description = 'friend to Antonio and Bassiano'