Defining the number of complexes in a mobile app