public function postsCount()
    {
        $postsCount   = $this->posts->count();
        $repliesCount = $this->replies->count();

        return $postsCount + $repliesCount;
    }
public function postsCount()
    {
        $postsCount   = $this->posts->count();
        $repliesCount = $this->replies->count();

        return $postsCount + $repliesCount;
    }
public function postsCount ( ) { $ postsCount = $ this -> posts -> count ( ) ; $ repliesCount = $ this -> replies -> count ( ) ; return $ postsCount + $ repliesCount ; }
Get the number of posts from this user
Get the number of posts from this user