Removed hasAuthoredPublications helper because it's unnecessary.

We can use authoredPublications.count instead.