Ballot counting begins in military-run Guinea-Bissau after voting ended in a referendum that could expand the president's powers, ahead of a general election later this year aimed at restoring civilian rule.