Drag and drop

im making a drag and drop diagram.
when the user drags and drops the wrong amount of objects on the diagram i want it to say incorrect
help anyone
:rambo:8-]:rocker::link::q::q::q::q::q::q::q::genius: