count protocols