skip intermediate join table for counts report query
skip intermediate join table for counts report query

Change-Id: I60350b953815a53d287797c12ed2fe2886132e88
Reviewed-on: https://gerrit.instructure.com/30295
Reviewed-by: Rob Orton <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@instructure.com>
Reviewed-by: Hubert depesz Lubaczewski <0c20188759a1964983cb890c6d035a77d62dfd15@instructure.com>
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Product-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
QA-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

ShreniiNepal/shrenii_lmp,whalejasmine/canvas-lms,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,usmschuck/canvas,va7map/canvas-lms,shidao-fm/canvas-lms,usmschuck/canvas,djbender/canvas-lms,whalejasmine/canvas-lms,shidao-fm/canvas-lms,va7map/canvas-lms,sfu/canvas-lms,efrj/canvas-lms,tgroshon/canvas-lms,Rvor/canvas-lms,arrivu/hoodemo,Rvor/canvas-lms,Unow/canvas-lms,redconfetti/canvas-lms,Jyaasa/canvas-lms,SwinburneOnline/canvas-lms,grahamb/canvas-lms,wrdsb/canvas-lms,roxolan/canvas-lms,ShreniiNepal/shrenii_lmp,venturehive/canvas-lms,fronteerio/canvas-lms,utkarshx/canvas-lms,whalejasmine/canvas-lms,HotChalk/canvas-lms,utkarshx/canvas-lms,sfu/canvas-lms,efrj/canvas-lms,sdeleon28/canvas-lms,jay3126/canvas-lms,leftplusrightllc/canvas-lms,djbender/canvas-lms,fronteerio/canvas-lms,juoni/canvas-lms,usmschuck/canvas,jay3126/canvas-lms,Jyaasa/canvas-lms,tgroshon/canvas-lms,sfu/canvas-lms,wye0220/shindig-canvas,shidao-fm/canvas-lms,leftplusrightllc/canvas-lms,samuels410/greatlakes-lms,samuels410/greatlakes-lms,kyroskoh/canvas-lms,sfu/canvas-lms,arrivu/hoodemo,skmezanul/canvas-lms,fronteerio/canvas-lms,arrivu/arrivu-lms,arrivu/hoodemo,sdeleon28/canvas-lms,efrj/canvas-lms,wrdsb/canvas-lms,redconfetti/canvas-lms,usmschuck/canvas,greyhwndz/canvas-lms,SwinburneOnline/canvas-lms,kyroskoh/canvas-lms,samuels410/greatlakes-lms,grahamb/canvas-lms,Jyaasa/canvas-lms,skmezanul/canvas-lms,whalejasmine/canvas-lms,wrdsb/canvas-lms,HotChalk/canvas-lms,jay3126/canvas-lms,wrdsb/canvas-lms,greyhwndz/canvas-lms,juoni/canvas-lms,skmezanul/canvas-lms,Rvor/canvas-lms,sdeleon28/canvas-lms,wye0220/shindig-canvas,jay3126/canvas-lms,redconfetti/canvas-lms,venturehive/canvas-lms,Unow/canvas-lms,tgroshon/canvas-lms,wye0220/shindig-canvas,sdeleon28/canvas-lms,leftplusrightllc/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,antoniuslin/canvas-lms,efrj/canvas-lms,va7map/canvas-lms,sfu/canvas-lms,antoniuslin/canvas-lms,Unow/canvas-lms,ShreniiNepal/shrenii_lmp,kyroskoh/canvas-lms,Jyaasa/canvas-lms,juoni/canvas-lms,grahamb/canvas-lms,djbender/canvas-lms,greyhwndz/canvas-lms,skmezanul/canvas-lms,HotChalk/canvas-lms,roxolan/canvas-lms,Rvor/canvas-lms,roxolan/canvas-lms,arrivu/arrivu-lms,SwinburneOnline/canvas-lms,leftplusrightllc/canvas-lms,HotChalk/canvas-lms,roxolan/canvas-lms,kyroskoh/canvas-lms,djbender/canvas-lms,redconfetti/canvas-lms,antoniuslin/canvas-lms,sfu/canvas-lms,juoni/canvas-lms,samuels410/greatlakes-lms,venturehive/canvas-lms,arrivu/arrivu-lms,ShreniiNepal/shrenii_lmp,greyhwndz/canvas-lms,va7map/canvas-lms,utkarshx/canvas-lms,tgroshon/canvas-lms,grahamb/canvas-lms,antoniuslin/canvas-lms,shidao-fm/canvas-lms,utkarshx/canvas-lms,venturehive/canvas-lms