Hi, i am struggled with graph. I analyze the completion of M&A deals and I have a dummy variable completion with the value of 1 if the deal was completed and 0 otherwise and the year when it happened. I need to to have a graph with amount of deals on Y axis and year on X axis and 2 lines one showing all the amount of all deals announced, including both 1 and 0 and another line when completion has value of 1.

I tried to use the command

twoway line completion year

but it didnt work. Could you please help me with the code? Thank you in advance