Added the total N count to the metrics API.
Added age and gender to metrics API