Adding summary for collapsed nodes