add menu count for schema