Revert "fix size_of_object forloop"

This reverts commit da5b6a7a8a2f3cab99d06d7be26f48a24a6af0bb.
fix size_of_object forloop ontology