Find the number of ways of choosing three vertices of a regular nonagon, so that they form the vertices of an acute triangle.