def get_matching_students_count(params={})
      api_path = "/ws/v1/district/student/count"

      query   = build_query(params)
      options = {query: { "q" => query } }  unless query.empty?
      return {"errorMessage"=>{"message"=>"A valid parameter must be entered."}} if query.empty?

      answer  = api(:get, api_path, options)  #returns: {"resource"=>{"count"=>423}}
      answer.dig("resource", "count").to_i
    end
def get_matching_students_count(params={})
      api_path = "/ws/v1/district/student/count"

      query   = build_query(params)
      options = {query: { "q" => query } }  unless query.empty?
      return {"errorMessage"=>{"message"=>"A valid parameter must be entered."}} if query.empty?

      answer  = api(:get, api_path, options)  #returns: {"resource"=>{"count"=>423}}
      answer.dig("resource", "count").to_i
    end
api_path = "/ws/v1/district/student/count?q=school_enrollment.enroll_status_code==0"
 returns: {"resource"=>{"count"=>423}}
 @return [Integer] - the number of students matching the filter