fix count records in get_facilities
Merge branch 'master' of https://github.com/Varno/CadastreJournal