is V needed here?

Can we make this Seq[(K) => Int]?