Report question

Question: Find duplicate lines in a file and count how many time each line was duplicated?