Adding in as.numeric for all counts - otherwise these are characters that can't be added, treated as numbers.