Thanks for your query,based on the facts that you have posted it appears that you have small testicles with problem of erectile dysfunction
This could be due to hypogonadism .However this has to be ruled out by clinical examination by a qualified Endocrinologist
and following tests.
1) Detail Hormonal assessment like Serum Testosterone ,Growth hormone
,LH etc .
2) Ultrasound scanning of Scrotum.
3) Colour Doppler study of scrotum.(To rue out varicocele on Lt side)
As regards your sperm count get your semen analysis
done to know more about your sperm count and morphology of sperms.