Fix the package counting
Update mate-build-base.sh

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>