Question: Arrange the list elements

Suppose I have a list of differential equations:

L:=[x*diff(f(x),x)+2*x+1=0, 4*(diff(f(x),x$2))^2+7*diff(f(x),x)-2=0, x*diff(f(x),x)+2*x+1=0, 3*(diff(f(x),x))^2-f(x)-1=0];

how can I rewrite this list such that 
L:=[[x*diff(f(x),x)+2*x+1=0,2], [4*(diff(f(x),x$2))^2+7*diff(f(x),x)-2=0,1], [3*(diff(f(x),x))^2-f(x)-1=0,1]];
i.e., rewrite this list as the [equation, Number of occurrences in the list]

Please Wait...