title: Limit number of products shown on homepage, list.phtml
body: <p>I am trying to limit the number of products from a certain category to 4 on my homepage.</p>
  
  <p>The code I am trying to do this with is:</p>
  
  <pre><code>{{block type="catalog/product_list" column_count="4" category_id="13" template="catalog/product/list.phtml"}}
  </code></pre>
  
  <p>Here are some of the things I have tried:</p>
  
  <pre><code>num_products="4"
  limit = 4, limit="4"
  count = 4, count="4"
  _productCollection="4"
  _productsCount="4"
  </code></pre>
  
  <p>I have made a copy of list.phtml thinking there might be a way to change it in there, but was unable to find out a way.</p>
  
  <p>At the very top pf list.phtml is this code:</p>
  
  <pre><code>&lt;?php
      $_productCollection=$this-&gt;getLoadedProductCollection();
      $_helper = $this-&gt;helper('catalog/output');
  ?&gt;
  </code></pre>
  
  <p>And under grid view there is this:</p>
  
  <pre><code>&lt;?php $_collectionSize = $_productCollection-&gt;count() ?&gt;
      &lt;?php $_columnCount = $this-&gt;getColumnCount(); ?&gt;
      &lt;?php $i=0; foreach ($_productCollection as $_product): ?&gt;
          &lt;?php if ($i++%$_columnCount==0): ?&gt;
  </code></pre>
  
  <p>Any ideas on to limit the products either within the block or the template file?</p>