Saving dihedrals, angles, bond type and improper information in dump

Hello Lammps users

How can I save the dihedrals, angles, bond type and improper information in dump file. I need to count all these quantities in my simulation.

Thanks and Regards