I wonder about list of python. two questions : first, I would like to remove the outer list of the doubled lists.
[[1,2,3,4,5]] -> [1,2,3,4,5]

second, I want to count the elements in the list.
[[1,2,3,4,2,1,4]]  -> 7


thank you.