Show Number Of Available Products If Less Than "x" Pieces

Hi, how can I mod the product_data.tpl file so that it will only show the qty available if there are less than 3 pieces. If there are more than 3, it will not show the quantity.

Add condition with

{if $product_amount <= 3}
    ....
{/if}