[PATCH 1/5] linux: list: add a function to count list nodes