pipeline counter commands

this increases input performance by 100% and read performance 70%