In your Comment
Model:
public function post(){
return $this->belongsTo('Post', 'post_id');
}
In your Post
Model:
public function comments(){
return $this->hasMany('Comment', 'post_id');
}
In your controller, get a post with all its comments.
$post = Post::with('comments')->find(1);
In your view, display the post and the number of comments it has. Assuming your post has a title
field.
Post Title: {{ $post->title }}
The post has {{ $post->comments->count() }} comments