Using collect to produce custom summary indexes