adding support for \Countable, \ArrayAccess and \Iterator intefaces