fixed bug in size() that appeared when when calling size() after removeNode()