Version: 2019.1
public int mipmapCount ;

Description

How many mipmap levels are in this texture (Read Only).

The returned value includes the base level as well, so it is always 1 or more.