How to put variable quantity in UI text?

I want to put my variable called shurikens to be displayed and updated in UI/Canvas/Ninja/Stars/text, how do I do it?

You need a reference to the text object then you just assign the variable to it. Check out some unity basics.