--- tweetbutton.module	2010-11-02 11:02:41.000000000 +0100
+++ tweetbuttonNew.module	2011-01-13 16:03:38.201008446 +0100
@@ -133,16 +133,19 @@ function tweetbutton_get_attributes($ent
     'entity_type' => 'node',
   );
   
+  $url = $options['url']? $options['url']: url('node/' . $entity->nid, array('absolute' => TRUE));
+  
   $options += $default_option;
   $attributes =  array(
     'data-count'   => $options['type'],
     'data-via'     => $options['account'],
     'data-related' => $options['rel_account'] . ':' . $options['rel_desc'],
     'data-text'    => token_replace($options['text'], $options['entity_type'], $entity),
-    'data-url'     => $options['url']? $options['url']: url('node/' . $entity->nid, array('absolute' => TRUE)),
+    'data-counturl'=> $url,
+    'data-url'     => $url,
     'data-lang'    => $options['language'],
   );
-
+  
   return $attributes;
 }
 
