Cast to seconds before sum