The clear cart code is likely lower on the page than the include for the cart on the top of the page. You can probably correct the problem by simply moving the clear cart code higher on the page so that it is cleared before the count is displayed.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.