Notes on complexity growth rate, grand potential and partition function