Added count offset and total to facilities.json query. Does not work with projections
finally got it to not crash
Finished pagination thankgod! [Finishes #80855482]