Search Refiner Display Template does not show all refiner values

Recently I created a Refiner Display Template to filter a Managed Metadata Term Set. I was wondering that not all refiner values were displayed. The solution was simple: I had to update the maximum number of refiner values in the Refinement WebPart. This article gives some information about the number of refiner values passed to the Refinement WebPart.