As @Idahowalker has said we need a chematic - even if its something as simple as a pencil sketch.
we also need to know EXACTLY what hardware you are using - with a link to a data sheet or suppliers documentation.
Including - particularly - the "arduino"
In your code you are averaging 10,000 values; really its better to use a power of 2 for your "Count" - and 64 is plenty
double Vout = 0;
double Current = 0;
int Count = 64;
long Vsum; //aggregated values read from adc
and
void loop() {
Vsum=0;
for(int i=0; i<Count; i++){
Vsum += analogRead(A0); // add em up as integers
delay(27); //chosen to avoid mains frequency readings; or eg 7 or 13
}
Vsum = Vsum / Count; //dividing average for getting averaged voltage reading value
Vout = Vsum *5.0 /1024;
//print the reading.