Adds num_samples parameter to labware view

Adds template functionality to labware view so we can display with labware template any data provided by the data model.