Fix sorting order in panel sort element.
Revert "Update DefaultLimitElement.php"

This reverts commit 131aeb6e678c976bf96d3fcb12e6dafa51cc294e.
The CollectionInterface now implements Countable.