When the progress bar has discrete style, it is divided into a number of blocks. This method can be used to change the number of these blocks.
The default value is 10.