Python Fit Function To Count Filled