Fix historical hearings for judges
Use elasticsearch total entries count for showing count statistics on models