If I have a selector like

$.('.active');

How can I see how many items that matched?

Alternatively, is there an easy way to see if more than zero elements were matched?

Edit
Report