Dear student,
Balmer series consists of those spectral lines in which a transition takes place from higher energy state to n=2. Hence the possible balmer lines are

Hence there are 4 lines.
Pfund series consists of those spectral lines in which a transition takes place from higher energy state to n=5 Hence the possible balmer lines is

Hence there is only 1 line.