Which of the following factors affects the size of a vent pipe?

Which of the following factors affects the size of a vent pipe?