Her cousin brought over 20/5=<<20/5=4>>4 pairs of socks
Three times more than Lisa bought was 12*3=<<12*3=36>>36
Her mom brought 36+8=<<36+8=44>>44 pairs of socks
In total Lisa had 12+20+4+44=<<12+20+4+44=80>>80 pairs of socks
#### 80