How do you determine the type and number of each type of element in H2SO4?

What do you mean by type? The number is known by the subscript and/or parentheses. For H2SO4, it has two H atoms, 1 S atom and 4 O atoms.