title: Facade\Ignition\Exceptions\ViewException count(): Parameter must be an array or an object that implements Countable (View:
body: <p>I run the following code to display my one to many relationship, however i receive the error: Facade\Ignition\Exceptions\ViewException
  count(): Parameter must be an array or an object that implements Countable (View: </p>
  
  <p>This is my code: PostsController.php</p>
  
  <pre><code>public function show($id)
  {
      $post = Post::find($id);
      $review = Post::find(1)-&gt;reviews()-&gt;where('title', 'posts_title')-&gt;first();
      //$review = Review::all();
  
      return view('posts.show', compact('post', 'review'));
  }
  </code></pre>
  
  <p>Post.php</p>
  
  <pre><code>   protected $tables='reviews';
  
    function reviews(){
  
        return $this-&gt;hasMany('App\Review', 'title', 'post_title');
  
      }
  </code></pre>
  
  <p>From the stack trace the error is around here:</p>
  
  <pre><code>    @if(count($review) &gt; 1)
  
      @foreach($review as $reviews)
  </code></pre>
  
  <p>Can anyone help ?</p>