Use COALESCE in case there are no posts in a topic