len() and size() functions added, another bug finded and fixed