fix-indexcount: IndexCount junit tests failed because of using the sortDirection to determine whether this is a reverse scan; add a new function in IndexScanPlanNode isReverseScan() to fix it.
Merge branch 'fix-indexcount' into ENG-5004-function-params