Cleaned up smarty names
Added number of votes and total votes to params passed to templates