Test for locations count