Instanton Counting and Chern-Simons Theory