optimize CountBolt of AlogTopology