REPEAT SIGNS with a number

Hello,
I need to create REPEAT SIGNS with a number located above the sign to indicate how many bars are repeated.
Is there any function to do this?
Also I want to hide the repeated bars. Is there a way to do this without deleting the real bar in the tracks?
repeat-sign-1.gif
Thanks in advance.

Montxo Garcia