Added summary to search licence view

@xliiv please review
is this outter comprehension really necessery? how about regular 'for lic in licences:..'?