diff --git a/storm.theme.inc b/storm.theme.inc
index 36530c0..74bb7f8 100644
--- a/storm.theme.inc
+++ b/storm.theme.inc
@@ -118,7 +118,61 @@ function theme_storm_dashboard() {
   return $o;
 }
 
+/*RH@C /
+/**
+*Count number of tasks, notes, timetrackings and tickets per project.
+*
+*$source_module
+* A string of module where the request is comming from
+*
+*$destination_module 
+* A string with name of targeted module
+*
+*$project_nid
+* id of project
+* 
+*/
+function number_of_items($source_module, $destination_module, $project_nid) {
+global $user;
+ $nmb_of_items = ''; 
+ if ($source_module == 'stormproject')
+ {
+  //All items will be counted if user is admin
+  $assigned_filter = user_access('administer') ? '' : "and assigned_nid = '%d'";
+  switch ($destination_module)
+  {
+  case 'stormtask':
+   $qr = user_access('Storm task: view if assigned to task') ? "SELECT COUNT(*) FROM 
+   node AS n INNER JOIN $destination_module AS sta ON n.vid=sta.vid WHERE n.status=1 AND 
+   n.type='stormtask' and sta.project_nid = '%d' $assigned_filter" : 'false';
+   $nmb_of_items = $qr == 'false' ? '' : db_result(db_query($qr, $project_nid, $user->stormperson_nid));
+  break;
+  case 'stormnote':
+   $assigned_filter = user_access('administer') ? '' : "and n.uid = '%d'";
+   $qr = user_access('Storm note: view own') ? "SELECT count(*) FROM node AS n INNER JOIN stormnote 
+   AS stnt ON n.vid=stnt.vid WHERE n.status=1 AND n.type='stormnote' and stnt.project_nid = '%d' $assigned_filter" : 'false';
+   $nmb_of_items = $qr == 'false' ? '' : db_result(db_query($qr, $project_nid, $user->uid));
+  break;
+  case 'stormticket':
+   $assigned_filter = user_access('administer') ? '' : "and assigned_nid = '%d'";
+   $qr = user_access('Storm ticket: view if assigned to ticket') ? "select count(*) from $destination_module 
+   where `project_nid` = '%d' $assigned_filter" : 'false';
+   $nmb_of_items = $qr == 'false' ? '' : db_result(db_query($qr, $project_nid, $user->stormperson_nid));
+  break;
+  case 'stormtimetracking':
+   $assigned_filter = user_access('administer') ? '' : "and n.uid = '%d'";
+   $qr = user_access('Storm timetracking: view own') ? "SELECT count(*) FROM node AS n INNER JOIN stormtimetracking 
+   AS stnt ON n.vid=stnt.vid WHERE n.status=1 AND n.type='stormtimetracking' and stnt.project_nid = '%d' $assigned_filter" : 'false';
+   $nmb_of_items = $qr == 'false' ? '' : db_result(db_query($qr, $project_nid, $user->uid));
+  break;
+  }
+ }
+ return $nmb_of_items;
+}
+/*end of RH@C*/
+
 function theme_storm_link($source_module='', $destination_module='', $node_nid=0, $weight=0) {
+
   switch ($source_module) {
  
    case "stormorganization":
@@ -138,6 +192,8 @@ function theme_storm_link($source_module='', $destination_module='', $node_nid=0
       break;
   }
 
+
+
   switch ($destination_module) {
     case "stormattribute":
       $user_access_check = 'Storm: access administration pages';
@@ -191,6 +247,7 @@ function theme_storm_link($source_module='', $destination_module='', $node_nid=0
       $add_icon_type = 'stormnote';
       $add_path = 'node/add/'. $destination_module;
       $dt_id = 'stormnotes';
+      $nmb_itms = number_of_items($source_module, $destination_module, $node_nid);
       break;
 
     case "stormorganization":
@@ -227,6 +284,7 @@ function theme_storm_link($source_module='', $destination_module='', $node_nid=0
       $add_icon_type = 'stormtask';
       $add_path = 'node/add/'. $destination_module;
       $dt_id = 'stormtasks';
+      $nmb_itms = number_of_items($source_module, $destination_module, $node_nid);
       break;
 
     case "stormteam":
@@ -245,6 +303,7 @@ function theme_storm_link($source_module='', $destination_module='', $node_nid=0
       $add_icon_type = 'stormticket';
       $add_path = 'node/add/'. $destination_module;
       $dt_id = 'stormtickets';
+      $nmb_itms = number_of_items($source_module, $destination_module, $node_nid);
       break;
 
     case "stormtimetracking":
@@ -255,7 +314,7 @@ function theme_storm_link($source_module='', $destination_module='', $node_nid=0
       $node_links_key = 'timetrackings';
       $add_path = 'node/add/'. $destination_module;
       $dt_id = 'stormtimetrackings';
-
+      $nmb_itms = number_of_items($source_module, $destination_module, $node_nid);
       break;
   }
 
@@ -278,7 +337,7 @@ function theme_storm_link($source_module='', $destination_module='', $node_nid=0
         $params = $_GET;
         $params[$params_key] = $node_nid;
       }
-      $v .= storm_icon_add($add_path, $i, $params);
+      $v .= $nmb_itms.storm_icon_add($add_path, $i, $params);
     }
 
     if ($node_nid == 0) {
