Counting and output on the Dashboard

@MoMo Monika, welcome to the forum. There are a couple of things you should do when requesting help:

  1. provide the platform/os you are using Node-RED on
  2. what version of NR, node.js and dashboard (if the issue involves the dashboard) are you using - this can all be found in the NR start up log
  3. the full names of any 'extra' nodes you are using (node-red-contrib-xxxxxxx) Remember, it is unlikely someone else has installed all the same noes you have.
  4. when pasting a flow to a reply, follow the rules in this thread (How to share code or flow json ) so the flow will import.

Since this is your university project, I'll be happy to help you solve your issues yourself. My first suggestion is to make sure what you are sending to the gauge is what you think you are sending to the gauge. To do that, put a debug node (set to display the complete msg object) on the output of the node sending data to the gauge node.

Then show the data you are getting ask yourself,
"Why is this data not appearing on the gauge?"
"Did I format it corretly?'