atscppapi: Optimizing values() in Headers by removing size()/count() calls