add getNumberOfAttribute in table.h,which is used in insert stmt