Solved this question by myself. I am using get_post_meta() which automatically unserialize the data and then array_sum() to get the number. Thanks for the answers.