<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _get_ncc(self, width, ratio):
        ''' Get the number of complete chars.

            This one figures the remainder for the partial char as well.
        '''
        sub_chars = round(width * ratio * self.partial_chars_len)
        ncc, self.remainder = divmod(sub_chars, self.partial_chars_len)
        return ncc