You don’t have to count anything, as it is already counted for you. You just have to adjust the number of active paylines, it can be between 1 and 50.