metadata vector arrSize used instead of vector. Spelling error in static function fixed
two more cases of counted vector sizes
Merge pull request #388 from telefonicaid/hardening/issue367_size_of_metadata_vector

issue367