OK, so since you can use std::vector that will make things a LOT easier on us.
First you should include the header for std::vector:
#include <vector>
You can find reference material here:
http://www.cplusplus.com/reference/stl/vector/
Now, you can make a std::vector as simple as this:
std::vector<int> my_list;
where 'int' is the variable type the std::vector will be a list of. (int is probably what you want anyway)
Then, in the loop where you ask the user to input the numbers, you can add the inputted number to the std::vector like this:
my_list.push_back(number);
Once you have finished the input, you can access the size of the vector with
my_list.size()
and access an element with the [] operator:
my_list[x]
where x is a number or variable. The vector class acts like a normal array for this, so you can use it in an expression and assign to it.
You can loop through the vector just like an array and count the number of times a number is in it, just like you would with an array.
Give it all a try and post here when you get stuck or have a question ;)