Included the class member count in serializer