for(int i=0; i<count; i++)
{
data.push_back(input);
}
This is your input loop, but there's no input going on. You need to give the user time to input a value, then add the value to your vector:
for (int i = 0; i < count; i++)
{
if (cin>> input)
data.push_back(input);
}