how do i find total pairs shared pair and lone pairs after creating the Lewis Structures

Shared pairs are those shared between atoms. Lone pairs are those around an atom that are not shared. The sum gives you the total.