not sure why votes query num_rows isn't working...