s/COUNT/BRICKS_PORT_COUNT/