报告 filtersize(或 length)的用法,并建议将其替换为 count

示例:


  var x: Seq[Int]
  x.filter(p).size

在应用快速修复后:


  var x: Seq[Int]
  x.count(p)