How can I access data across dataveiwjs snippets?

What I’m trying to do

Hi guys, I am counting the amount of tasks I have on one page. I am planning to make this into a percentage in the further based on the progress of the individual tasks. I use this snippet:

let array = dv.pages("#testproject");
let varible = "test";
dv.paragraph("test:: " + array.length);

The problem is, that I tried to access the test:: int from another page, and it as expected does not work. Is there a way to access this value across the vault?

Thank you a lot in advance.