module RSpec::Matchers::BuiltIn::CountExpectation

def expected_count_matches?(actual_count)

def expected_count_matches?(actual_count)
  @actual_count = actual_count
  return @actual_count > 0 unless count_expectation_type
  return cover?(expected_count, actual_count) if count_expectation_type == :<=>
  @actual_count.__send__(count_expectation_type, expected_count)
end