1067 fix ontologies count

Shall fix #1067.
Style/EmptyLinesAroundBody: Extra empty line detected at body end.