20,000 criminal cases pending in courts