add count-over-partition