Displaying count of database entries in a text that is dynamic to the logged in user.

Hi,

I am trying to connect a text to show the amount of entries in my database “skills”.

The database is filled in another page by the logged in user filling out a form. I am looking to display a text that shows how many times the logged in user has filled out the form.

This is my code, I am not sure why the text is not being updated each time the page is loaded?

Can anyone please help. Thanks!