Counting Carbon: A Survey of Factors Influencing the Emissions of Machine Learning