CORE-4865: Increased the speed of the stat endpoint by using the new
specific queries and functions added to clj-jargon.lazy-listings.