Whether stopovers are allowed, how many are allowed, where they are allowed, how long for and whether they are free or incur an extra charge is entirely dependent on the fare rules.
Have a look at the fare rules on ITA Matrix for the fares you're considering and that'll explain all.
Note that when a stopover fee is incurred, this is included in the (higher) fare displayed on the result page, not itemised separately.