Version: 2018.2
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.