Inner links counter for blocks