Added map-flat-count-to-coord(...) which will eventually replace get-flat-count... and get-coord...