Write SQL query to solve given problem: How many papers were written by authors who cooperated with University of Hong Kong?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T2.PaperId) FROM Author AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.AuthorId WHERE T1.Affiliation = 'University of Hong Kong'