add input data (total,votes) to bemjson and template