title: problem with counterCache of cakePHP
body: <p>I have in a video sharing website project these models :</p>
  
  <pre><code> class Video extends AppModel {
          var $name = 'Video';
          var $hasAndBelongsToMany = array(
              'Tag' =&gt; array(
                  'className' =&gt; 'Tag',
                  'joinTable' =&gt; 'videos_tags',
                  'foreignKey' =&gt; 'video_id',
                  'associationForeignKey' =&gt; 'tag_id',
                  'unique' =&gt; true,
              )
          );
      }
  
      class Tag extends AppModel {
          var $name = 'Tag';
  
          var $hasAndBelongsToMany = array(
              'Video' =&gt; array(
                  'className' =&gt; 'Video',
                  'joinTable' =&gt; 'videos_tags',
                  'foreignKey' =&gt; 'tag_id',
                  'associationForeignKey' =&gt; 'video_id',
                  'unique' =&gt; true,
              )
          );
  
      }
  
  
  
   class VideosTag extends AppModel {
          var $name = 'VideosTag';
  
          var $belongsTo = array(
              'Video' =&gt; array(
                  'className' =&gt; 'Video',
                  'foreignKey' =&gt; 'video_id',
              ),
              'Tag' =&gt; array(
                  'className' =&gt; 'Tag',
                  'foreignKey' =&gt; 'tag_id',
                  'conditions' =&gt; '',
                  'counterCache' =&gt; 'videos_tag_counter'
              )
          );
      }
  </code></pre>
  
  <p>The counterCache for tags is not working. I don't know why and when I tried to add a beforeSave() callback to videosTag model I found that it doesn't execute when a video get saved (and this video has tags and i find them in the database so how the relation videosTags is saved ? ) !!! can any body explain why this is happening.</p>