Added counter for the size of linked tail