add shell for counting pv