Row count effective in firmware

Fixes #88
Fixes #89