Dark Energy Survey Year 1 Results: Methods for Cluster Cosmology and Application to the SDSS