public function getAssetCounts(User $user)
{
return ['pages' => $this->entityRepo->page->where('created_by', '=', $user->id)->count(), 'chapters' => $this->entityRepo->chapter->where('created_by', '=', $user->id)->count(), 'books' => $this->entityRepo->book->where('created_by', '=', $user->id)->count()];
}