add getMeasuresCount method to measures table

Change-Id: Iac50fb5c2fd4dec9c4cf14fc4658b6d1525b70ad