I want in a document of mine to keep a lot of notes so I would like to create a custom counter so every note to be numbered like this:
0001
0002
0003
0004
(They are deliberately bold as this is the style I would like)
I would like the counter to work like the enumerate environment so to add a keyword in front of the note I want to number and also to be able to reset it.
The reasons I don't use the enumerate environment are:
I want the numbers to be bold
I want custom formatting of the numbers i.e. 0001 etc...
I really want to see how I can create something like that.

fmtcount? – jon Aug 24 '16 at 04:22\newcounter{xyz}creates a counter calledxyz. Padding zeroes so you can get output like:0001,0014,0589,9999. is a more tricky. – jon Aug 24 '16 at 04:52