block counting
Block counter