Frege defines 0 as the extension of the concept being non self-identical. So, the number of this concept is the extension of the concept of all concepts that have no objects falling under them.
Frege defines 0 as the negation of self-identity. As a result, the number of this concept is equivalent to the extension of the concept comprising all concepts lacking any objects under them.