fix: j-profiles cornices count calculation