Get total credits