fixes #3760 - API v2 define metadata @total for each controller